package com.xjc.business.service;

import com.xjc.business.entity.domain.ActivityComments;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xjc.business.entity.po.stu.ActivityCommentsPo;
import com.xjc.business.entity.vo.stu.ActivityCommentsVo;
import com.xjc.system.result.Result;

import java.util.List;

/**
* @author root
* @description 针对表【activity_comments(宿舍评优评价表)】的数据库操作Service
* @createDate 2025-01-25 10:24:30
*/
public interface ActivityCommentsService extends IService<ActivityComments> {

    /**
     * 获取宿舍评优活动评论列表
     * @param id 宿舍评优活动参加记录id
     * @return Result
     */
    Result<List<ActivityCommentsVo>> getActivityCommentsList(Integer id);

    /**
     * 添加宿舍评优活动评论
     * @param activityCommentsPo 评论内容
     * @return Result
     */
    Result<String> addComment(ActivityCommentsPo activityCommentsPo);
}
